import { createApp } from 'vue';
import App from './App.vue';
import './assets/less/index.less';
import router from './router';

import('ant-design-vue/dist/antd.less');
import registerGlobComp from './assets/ts/antd.ts';
import directiveMethods from './assets/ts/directive';
import { setupStore } from '/@/store';

const app = createApp(App);
// 注册自定义事件
directiveMethods(app);
// 注册组件
registerGlobComp(app);
// 配置存储
setupStore(app);
app.use(router).mount('#app');
